package com.example.evanproject.mapper;

import com.example.evanproject.domain.Coursechapter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hanxiaoqi
* @description 针对表【coursechapter】的数据库操作Mapper
* @createDate 2024-03-09 21:52:12
* @Entity generator.domain.Coursechapter
*/
@Mapper
public interface CoursechapterMapper extends BaseMapper<Coursechapter> {

    List<Coursechapter> selectallinfo(Integer fid);

    Integer addCourseChapter(Coursechapter courseChapter);

    List<Coursechapter> getallinfoByUserId(@Param("fid") Integer fid,@Param("userId") String userId);
}




